package test03;

public class MainTest {
    public static void main(String[] args) {
        Lion lion = new Lion("ss");
        lion.setName("狮子");
        lion.sleep();
        lion.eat("肉");
        Rabbit rabbit = new Rabbit();
        rabbit.setName("兔子");
        rabbit.sleep();
        rabbit.eat("草");
    }
}
